var myDivElement = <div className="foo" />;  
ReactDOM.render(myDivElement, document.getElementById('example'));